﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLBH.Category.Model;
using QLBH.Model.Controller;
using QLBH.DataModel;

namespace QLBH.Category.Presenter
{
    class QLPhieuMuaHangPresenter
    {
        /// <summary>
        /// Get All Phieu Mua hang 
        /// </summary>
        /// <returns></returns>
        public List<QLPhieuMuaHangModel>GetAllPhieuMuaHang()
        {
            List<QLPhieuMuaHangModel> list = new List<QLPhieuMuaHangModel>();
            //var model = QLMuaHangController.Instance.GetAll();
            //foreach (PHIEUMUAHANG p in model)
            //{
            //    QLPhieuMuaHangModel mp = new QLPhieuMuaHangModel();
            //    mp.InitFromEntity(p);
            //    list.Add(mp);
            //}
            return list;
        }
    }
}
